<?php
namespace app\index\controller;

use app\index\model\Gsrecord;
use function MongoDB\BSON\toJSON;
use think\Controller;

class IndexController extends Controller
{
    public function index()
    {
//    	dump($_SERVER);
//    	dump($GLOBALS);
//    	die();



//	    $runtime['day']=floor(THINK_START_TIME/86400000);
//	    $runtime['hour']=floor(THINK_START_TIME%86400000/3600000);
//
//	   $this->assign('runtime',$runtime);

    	return $this->fetch();
    }

	public function test()
	{
			$result=Gsrecord::get(88,'station');
			echo  $result;
//	dump($record);

//			echo $record->hidden(['content'])->toJson();
    }
}
